<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div id="bentrai">
  <div id="main-content">
    <div id="playnhac">
      <div class="playnhac1">
        <h3>NGHE NHẠC</h3>
      </div>
      <ul class="playnhac2">
        <li>
            <div class="facebook-like">
                <div class="fb-like" data-href="<?php echo $this->Html->url(array('controller'=>'nhac','action'=>'chi-tiet', $content['Music']['id'] . '-' . $content['Music']['alias'], 'ext'=>'html'), true); ?>" data-send="true" data-width="450" data-show-faces="true"></div>
             </div>
        </li>
        <li><span><?php echo $content['Music']['title']; ?></span></li>
        <li><p><?php echo $content['Singer']['title']; ?></p></li>
        <li>
                <a id="player" href="<?php echo $music_url_path . $content['Music']['url']; ?>" style="display:block;width:520px;height:330px"></a>
                <script language="javascript" type="text/javascript">
                    
                    flowplayer("player", "<?php echo $baseUrl . '/img/flowplayer/'; ?>/flowplayer-3.2.9.swf");
                </script>
        </li>
      </ul>
        <p class="loibaihat"><?php echo $content['Music']['description']; ?></p>
    </div>
    <?php if(isset($otherMusics[0])): ?>
    <div class="center-center">
      <div class="center2">
        <ul>
          <li><a href="#"><span>CÁC BẢN NHẠC KHÁC</span></a></li>
        </ul>
      </div>
      <div class="oncenter2">
        <div class="khungspnb2">
          <?php foreach($otherMusics AS $row): ?>
          <ul class="gamethoitrang2">
            <li><a href="/nhac/chi-tiet/<?php echo $row['Music']['id']; ?>-<?php echo $row['Music']['alias']; ?>"><img src="<?php echo $music_thumb_url_path . $row['Music']['thumbnail']; ?>" /></a></li>
            <li><a href="/nhac/chi-tiet/<?php echo $row['Music']['id']; ?>-<?php echo $row['Music']['alias']; ?>"><?php echo $row['Music']['title']; ?></a></li>
            <li>
            <a href="#">
            <span><?php echo $row['Singer']['title']; ?></span>
            </a>
            </li>
          </ul>
          <?php endforeach; ?>
        </div>
      </div>
    </div>
    <?php endif; ?>
  </div>
</div>
